package com.sino.androiddesign.main

import android.app.Application
import android.content.Context
import com.sino.androiddesign.database.objectBoxDataBase.ObjectBoxHelper

class DesignApp : Application() {

    override fun onCreate() {
        super.onCreate()
        appContext = applicationContext
        ObjectBoxHelper.init(applicationContext)
    }

    companion object {
       lateinit var appContext: Context
    }

}